package org.example.DesignPatterns.Template;

/**
 * @description:
 * @author: farprt
 * @create: 2022-09-18 18:39
 **/
public class Client {


    public static void main(String[] args) {
        Mammal mammal=new Human();
        mammal.live();

        mammal=new Whale();
        mammal.live();
    }
}